home *** CD-ROM | disk | FTP | other *** search
/ Apple WWDC 1996 / WWDC96_1996 (CD).toast / Technology Materials / MacApp Release 10 / Metrowerks Support / Libraries / CW MALibraries / MAToolboxHeaders.h < prev    next >
Encoding:
Text File  |  1996-04-03  |  5.2 KB  |  217 lines  |  [TEXT/CWIE]

  1. // MAToolboxHeaders.h
  2. //
  3.  
  4. // Conditional Macros (include before any other headers)
  5. #if !defined(__MACONDITIONALMACROS__)
  6.     #include "MAConditionalMacros.h"
  7. #endif
  8.  
  9. //----------------------------------------------------------------------------------------
  10. // ANSI Headers
  11.  
  12. #include <stdio.h>
  13. #include <stdlib.h>
  14. #include <stddef.h>
  15. #include <limits.h>
  16. #include <setjmp.h>
  17. #include <stdarg.h>
  18. #include <signal.h>
  19. #include <string.h>
  20. #if !defined(__STDDEF__)
  21.     #define __STDDEF__
  22. #endif
  23. #if !defined(__LIMITS__)
  24.     #define __LIMITS__
  25. #endif
  26. #if !defined(__SETJMP__)
  27.     #define __SETJMP__
  28. #endif
  29. #if !defined(__SIGNAL__)
  30.     #define __SIGNAL__
  31. #endif
  32. #if !defined(__STDIO__)
  33.     #define __STDIO__
  34. #endif
  35. #if !defined(__STDLIB__)
  36.     #define __STDLIB__
  37. #endif
  38. #if !defined(__STRING__)
  39.     #define __STRING__
  40. #endif
  41. #if !defined(__STDARG__)
  42.     #define __STDARG__
  43. #endif
  44.  
  45. //----------------------------------------------------------------------------------------
  46. // Toolbox Headers
  47.  
  48. // MacApp.h also includes the toolbox headers it needs. The reason toolbox headers
  49. // are included here is in case you want to make a precompiled header file with the
  50. // right MacApp #defines and the toolbox headers, but without the MacApp headers. 
  51.  
  52. #if defined(__MWERKS__) && !(__POWERPC__ || __CFM68K__)
  53. #    pragma d0_pointers on
  54. #endif
  55.  
  56. // ••• Following is copied from MacHeaders.c (with some add'l includes turned on) from here:
  57. /*
  58.  *    Required for c-style toolbox glue function: c2pstr and p2cstr
  59.  *    the inverse operation (pointers_in_A0) is performed at the end ...
  60.  */
  61.  
  62. //<snip>
  63.  
  64. /*
  65.  *    Apple #include files
  66.  *
  67.  *    Uncomment any additional #includes you want to add to MacHeaders.
  68.  */
  69.  
  70. //    #include <ADSP.h>
  71.     #include <AEObjects.h>
  72.     #include <AEPackObject.h>
  73.     #include <AERegistry.h>
  74.     #include <AEUserTermTypes.h>
  75. //    #include <AIFF.h>
  76.     #include <Aliases.h>
  77.     #include <AppleEvents.h>
  78. //    #include <AppleGuide.h>
  79.     #include <AppleScript.h>
  80. //    #include <AppleTalk.h>
  81. //    #include <ASDebugging.h>
  82. //    #include <ASRegistry.h>
  83.     #include <Balloons.h>
  84. //    #include <CMApplication.h>
  85. //    #include <CMComponent.h>
  86. //    #include <CodeFragments.h>
  87.     #include <ColorPicker.h>
  88. //    #include <CommResources.h>
  89. //    #include <Components.h>
  90.     #include <ConditionalMacros.h>
  91. //    #include <Connections.h>
  92. //    #include <ConnectionTools.h>
  93.     #include <Controls.h>
  94. //    #include <ControlStrip.h>
  95. //    #include <CRMSerialDevices.h>
  96. //    #include <CTBUtilities.h>
  97.     #include <CursorCtl.h>
  98. //    #include <CursorDevices.h>
  99. //    #include <DatabaseAccess.h>
  100. //    #include <DeskBus.h>
  101.     #include <Devices.h>
  102.     #include <Dialogs.h>
  103. //    #include <Dictionary.h>
  104. //    #include <DisAsmLookup.h>
  105. //    #include <Disassembler.h>
  106.     #include <DiskInit.h>
  107. //    #include <Disks.h>
  108. //    #include <Displays.h>
  109.     #include <Drag.h>
  110.     #include <Editions.h>
  111. //    #include <ENET.h>
  112. //    #include <EPPC.h>
  113.     #include <ErrMgr.h>
  114.     #include <Errors.h>
  115.     #include <Events.h>
  116. //    #include <fenv.h>
  117.     #include <Files.h>
  118. //    #include <FileTransfers.h>
  119. //    #include <FileTransferTools.h>
  120.     #include <FileTypesAndCreators.h>
  121.     #include <Finder.h>
  122. //    #include <FixMath.h>
  123.     #include <Folders.h>
  124.     #include <Fonts.h>
  125.     #include <fp.h>
  126. //    #include <FragLoad.h>
  127. //    #include <FSM.h>
  128.     #include <Gestalt.h>
  129. //    #include <HyperXCmd.h>
  130.     #include <Icons.h>
  131. //    #include <ImageCodec.h>
  132. //    #include <ImageCompression.h>
  133. //    #include <IntlResources.h>
  134. //    #include <Language.h>
  135.     #include <Lists.h>
  136.     #include <LowMem.h>
  137. //    #include <MachineExceptions.h>
  138. //    #include <MacTCP.h>
  139. //    #include <MediaHandlers.h>
  140.     #include <Memory.h>
  141.     #include <Menus.h>
  142. //    #include <MIDI.h>
  143.     #include <MixedMode.h>
  144. //    #include <Movies.h>
  145. //    #include <MoviesFormat.h>
  146. //    #include <Notification.h>
  147. //    #include <OSA.h>
  148. //    #include <OSAComp.h>
  149. //    #include <OSAGeneric.h>
  150.     #include <OSUtils.h>
  151.     #include <Packages.h>
  152.     #include <Palettes.h>
  153.     #include <Picker.h>
  154. //    #include <PictUtil.h>
  155. //    #include <PictUtils.h>
  156.     #include <PLStringFuncs.h>
  157. //    #include <Power.h>
  158. //    #include <PPCToolbox.h>
  159.     #include <Printing.h>
  160.     #include <Processes.h>
  161.     #include <QDOffscreen.h>
  162.     #include <Quickdraw.h>
  163.     #include <QuickdrawText.h>
  164. //    #include <QuickTimeComponents.h>
  165.     #include <Resources.h>
  166.     #include <Retrace.h>
  167. //    #include <ROMDefs.h>
  168. #ifndef __POWERPC__
  169. //    #include <SANE.h>
  170. #endif
  171.     #include <Scrap.h>
  172.     #include <Script.h>
  173. //    #include <SCSI.h>
  174.     #include <SegLoad.h>
  175. //    #include <Serial.h>
  176. //    #include <ShutDown.h>
  177. //    #include <Slots.h>
  178. //    #include <Sound.h>
  179. //    #include <SoundComponents.h>
  180. //    #include <SoundInput.h>
  181. //    #include <Speech.h>
  182.     #include <StandardFile.h>
  183. //    #include <Start.h>
  184.     #include <Strings.h>
  185. //    #include <Terminals.h>
  186. //    #include <TerminalTools.h>
  187.     #include <TextEdit.h>
  188. //    #include <TextServices.h>
  189.     #include <TextUtils.h>
  190. //    #include <Threads.h>
  191. //    #include <Timer.h>
  192.     #include <ToolUtils.h>
  193. //    #include <Translation.h>
  194. //    #include <TranslationExtensions.h>
  195.     #include <Traps.h>
  196. //    #include <TSMTE.h>
  197.     #include <Types.h>
  198. //    #include <Unmangler.h>
  199. //    #include <Video.h>
  200.     #include <Windows.h>
  201. //    #include <WorldScript.h>
  202.  
  203.  
  204. /*
  205.  *    required for c-style toolbox glue function: c2pstr and p2cstr
  206.  *    (match the inverse operation at the start of the file ...
  207.  */
  208.  
  209. // ••• to here:
  210.  
  211. #if defined(__MWERKS__) && !(__POWERPC__ || __CFM68K__)
  212. #    pragma d0_pointers reset
  213. #endif
  214.  
  215. //----------------------------------------------------------------------------------------
  216. // End of MAToolboxHeaders.h.h
  217.